﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Xml.Linq;

namespace ProjectBase.Core
{
    /// <summary>
    ///     NullObject pattern. If none IPublishingProvider is configured, this plays its role.
    /// </summary>
    public class NullPublishingProvider : PublishingProviderBase
    {
        public override void Init(XElement settings) { }

        public override void Publish(object reporter, string message, Exception exception) { }
        public override void Publish(object reporter, Severity severity, object message, params object[] args) { }
        public override void Publish(object reporter, Func<string> message, Severity severity) { }
    }
}